/*当前在哪个界面改变导航栏字体颜色*/
.active {
    color: #dcdcdc !important;
}

/* 整体版心的设置 */
.container {
    width: 85%;
    margin: 0 auto;
}
/*.container {*/
/*    width: 80%;*/
/*    max-width: 1020px; !* 保证大屏下不会太宽 *!*/
/*    min-width: 320px;  !* 可选，防止太窄 *!*/
/*    margin: 0 auto;*/
/*}*/

/*--------------------------------------------------header模块*/
/*整体导航栏的设置*/
.navbar {
    height: 70px;
    background-color: #21A053;
    margin-bottom: 0px;
}
.navbar .container {
    height: 70px;
}

/*最左部logo*/
.navbar .container .logo {
    height: 70px;
    width: 160px;
    /*background-color: #fff;*/
    margin-left: 20px;
}

.navbar .container .logo a {
    display: block;
    font-size: 0px;
    width: 160px;
    height: 70px;
    background: url('../picture/logo.png');
    background-size: 100% 100%;
}

/*最右部导航栏*/
.nav-links ul li {
    float: left;
    line-height: 70px;
}
.nav-links ul li a {
    margin: 0 13px;
    font-size: 16px;
    color: #F5D95B;
}
.nav-links ul li:last-child a {
    margin-right: 0;
}
/* 导航栏的悬停效果 */
.nav-links a:hover {
    color: #dcdcdc;
}


/*用户登录成功显示下拉框界面*/
.user-dropdown {
    margin-left: 13px;
    cursor: pointer;
    position: relative;
}
/*导航栏显示区域*/
.user-trigger span {
    font-size: 16px;
    color: #F5D95B;
}
.user-trigger img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
/*下拉框显示区域*/
.dropdown-menu {
    display: none;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    position: absolute;
    top: 70px;
    right: 0;
    z-index: 20;
    min-width: 120px;
}
.dropdown-menu.active {
    display: block;
}
.dropdown-item {
    display: block;
    padding: 5px 18px;
    color: #333 !important;
    font-weight: normal;
    line-height: 40px;
    font-size: 18px;
    margin: 0 !important;
}
.dropdown-item:hover {
    color: black !important;
    font-weight: bold !important;
}


/*-------------------------------------------------------------轮播图区域*/
.carousel {
    width: 100%;
    height: 350px;
    margin-top: 0px;
    background-color: #21A053;
    z-index: 10;
}
.carouselImgBox {
    width: 100%;
    height: 100%;
    position: relative;
}
.carouselImg {
    width: 100%;
    height: 100%;
    display: none;
    vertical-align: top;
}
.showImg {
    display: block;
}
/*控制按键设置*/
.carousel .controls button {
    width: 45px;
    height: 45px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
    border: 0px;
    position: absolute;
    top: 200px;
    right: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    padding-left: 10px;
    cursor: pointer;
    display: none;
}
.carousel .controls .last {
    left: 10px;
    padding-right: 10px;
    padding-left: 0px;
}


/*--------------------------------------------------------------展示商品分类界面*/
.category-bar{
    margin-top: 25px;
    margin-bottom: 25px;
}
.category-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.category-item {
    display: flex;
    align-items: center;
    padding: 13px 25px;
    border: 0px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.84);
    color: #232222;
    cursor: pointer;
    font-weight: normal;
}
.category-item:hover {
    background-color: #e0e3ee;
}
.more {
    color: #21A053;
}






/*---------------------------------------------------------footer模块*/
footer {
    height: 60px;
    background-color: #21A053;
    font-size: 13px;
    text-align: center;
    color: #F5D95B !important;
    padding: 10px;
    font-weight: normal;
}
footer p {
    margin-bottom: 5px;
}
footer a {
    color: #F5D95B !important;

}